Page({
  data: {
    current: 0,
    test: [
      'http://img4.imgtn.bdimg.com/it/u=3641303824,2346002884&fm=26&gp=0.jpg',
      'http://img3.imgtn.bdimg.com/it/u=236991697,603991298&fm=26&gp=0.jpg', 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2634172790,2987999199&fm=26&gp=0.jpg', 'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3947241346,3883319206&fm=26&gp=0.jpg'
    ]
  },
  onLoad: function(options) {

  },
  swiper: function(e) {
    this.setData({
      current: e.detail.current
    })
  },
  onReady: function() {},
  onShow: function() {},
  onHide: function() {},
  onUnload: function() {},
  onPullDownRefresh: function() {},
  onReachBottom: function() {},
  onShareAppMessage: function() {}
})